<script setup>
import { Button as AButton, Card as ACard } from 'ant-design-vue';
// 假设 WorkReviewCard 是一个组件
</script>

<template>
  <ACard :hoverable="true">
    <div class="root">
      <div class="body">
        <img src="/work5.png" alt="work" width="137" height="137">
        <div class="right">
          <div class="right-top">
            <span>学生智能辅导</span>
            <span class="hot">
              <fire-filled />
              <span>234</span>
            </span>
          </div>
          <div class="tag">
            <AButton>智能教育</AButton>
            <AButton>智能教育</AButton>
          </div>
          <a-typography-paragraph
            :ellipsis="{ rows: 2 }"
            :style="{ fontFamily: 'PingFangSC-regular', color: '#101010' }"
          >
            Slinda，具备生成、运行代码的能力。支持生成并运行Python代码来解决用户数据处理和分析、数据可视化、Python代码来解决用户数据处...
          </a-typography-paragraph>
        </div>
      </div>
      <div class="bottom">
        <span>参赛团队：啊对对对队</span>
        <div>
          <AButton type="primary" size="small" style="border-radius: 4px; background-color: #e6f0ff; color: #4b69f4; border-color: #e6f0ff">
            助力团队
          </AButton>
          <AButton type="primary" size="small" style="border-radius: 4px; background-color: #e6f0ff; color: #4b69f4; border-color: #e6f0ff">
            助力团队
          </AButton>
        </div>
      </div>
    </div>
  </ACard>
</template>

<style scoped>
.root {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: PingFangSC-regular;
}

.body {
  display: flex;
  gap: 12px;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right-top {
  display: flex;
  justify-content: space-between;
}

.hot {
  color: #E1251B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag {
  display: flex;
  gap: 9px;
}

.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #81838F;

}
.bottom > div {
    display: flex;
    align-items: center;
    gap: 6px;
  }
</style>
